<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
    <!--<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, maximum-scale=1, user-scalable=no">-->
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
	<meta name="format-detection" content="telephone=no"/>
	<meta name="msapplication-tap-highlight" content="no" />
	<meta http-equiv="Cache-Control" content="no-cache">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, maximum-scale=1, user-scalable=no , viewport-fit=cover">
  <meta name="description" content="广西体彩二维码兑换平台是广西壮族自治区体育彩票管理中心推出的、为促进彩票事业及公益事业的发展，围绕“换彩票，献爱心”的主题开展二维码兑换广西体育彩票活动，旨在拓展社会大众参与公益事业的新渠道，引导社会捐赠的新理念。
"/>
    <title>体彩兑换平台</title>

    <link rel="stylesheet" href="css/wzl-index.css"/>
    <link href="../css/mui.min.css" rel="stylesheet" />
    <script src="js/dist/seajs/2.3.0/dist/sea.js?v=2"></script>
   	<script type="text/javascript" src="js/jquery-1.8.0.min.js" ></script>

    <!--<link rel="icon" href="favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />-->
    <script>
    	function load(){
    		seajs.config({
	            base:'./js/dist'
	        })
	        seajs.use('wzlh5/1.0.0/wzlindex',function(index){
	            index.wzlindex('index2');
	        })
    	}
    </script>    
    <style>
    	#dlt-bet {
		    padding: 0.3rem;
		    font-family: "微软雅黑";
		    border-top: 5px solid #cfcfcf;
		    border-bottom: 5px solid #cfcfcf;
		}
		.header{display:flex;background-color: #ce150f; height:45px;line-height:45px; color:#fff;font-size:12px;padding-left:5px;padding-right:5px;}
		.header span img{border-radius: 50%;width:30px;margin-top:7.5px;}
		.header span{margin-left:5px;display:inline-block;height:45px;line-height: 45px;}
		.header span:nth-child(4){flex:1;text-align: right;}
		.header span:nth-child(4) a{margin-left:5px;display:inline-block;width:30px;height:45px;color:#fff;text-decoration: none;margin-right:3px;}
   		/*.header span:nth-child(3){display:none;}*/
   		.header span.availableMoney{display:block;}
   		#football-bet .bet-btn { margin-top: 30px;}
   		#denglu b,#denglu a{font-weight: normal;font-size:15px;}
   		/*#header span{display:inline-block;height:45px;line-height: 45px;}*/
   		#bottomnav { height:0px;}
        .jifen{
            position: absolute;
            right: 2%;
        }
        .jifen a{
            text-decoration: none;
            color: #fff;
            padding: 4px;
            border: 1px solid;
            border-radius: 3px;
        }

    </style>
</head>
<body onload="load()">
<article class="clearfix" id="index-wrap">
	<div class="header">
		<!--<span><img src="imgs/analyse/zhuanjia1.jpg" alt="" /> </span>-->
		<span id="uName">(未登录)</span>
		<span id="available">可用积分：<b id="points"></b>积分</span>
        <div class="jifen"><a href="../analyse.html">点我加积分</a></div>
		<!--<span id="denglu"><b>注册</b><a href="/h5/#/login?huzhou">登录</a></span>-->
	</div>
    <!-- header -->
    <!--<div id="header">
        <h1 class="logo">
            <a href="javascript:;">足彩兑换平台</a>
        </h1>
        <div class="header-r">
            <a href="views/ucenter.html"><i class="icon-user"></i></a>
            <a href="views/login.html">登录</a>|
            <a href="views/register.html">注册</a>
        </div>
    </div>-->
    <!-- slider -->
    <div id="index-slide" style="border-bottom: 5px solid #cfcfcf; margin-top:2px;">
        <div class="slideImg swiper-container">
            <ul class="slideList swiper-wrapper">
				<li class="swiper-slide">
			        <a href="/worldCup/index.html">
			            <img src="imgs/news/banner_6.jpg" alt="">
			        </a>
			    </li>
            </ul>
        </div>

        <div class="pagination"></div>
    </div>
    <!--竞彩足球-->
     <section id="football-bet" class="_lottery_box conf">
      <dl class="lottery conf">
          <dt class="logo jc"></dt>
          <dd class="lottery-text">
              <h2 style="font-size:1.4rem;">竞彩足球
                  <!--<span style="font-size:10px;font-weight:normal; color:#e4393c;">(获得的免费足彩请登录后进行兑换)</span>-->
              </h2>
              <p class="sub-text">返还率高达69%
              </p>
          </dd>
      </dl>
      <a class="bet-btn" id="football-bet-btn" href="">兑换</a>
    </section>
    <!--大乐透预售 -->
    <section id="dlt-bet" class="_lottery_box conf">
      <dl class="lottery conf">
          <dt class="logo jc"></dt>
          <dd class="lottery-text">
            <div class="dlt-bet-top">
            <span class="dlt-bet-name pull-left" style="font-size:1.4rem;">大乐透</span>
              <span class="dlt-bet-title pull-left"></span>
              </div>
              <h4 class="small-hide"><span>最高奖金1000万 </span></h4>
              <div class="small-display">
              	<h5>最高奖金1000万</h5>
              	<!--<span>奖池滚存:￥</span><span class="conta"></span><span>元</span>-->
              </div>
              <div class="dlt-bet-ball">
                <div class="bet-ball pull-left">
                      <ul id="bet-a">
                          <li>05</li>
                          <li>08</li>
                          <li>14</li>
                          <li>23</li>
                          <li>26</li>
                          <li class="blue_balls">06</li>
                          <li class="blue_balls">09</li>
                      </ul>

                  </div>
                  <div class="pull-left change">换</div>
              </div>
          </dd>
      </dl>
      <a class="bet-btn" id="bet-btn">兑换</a>
    </section>

    <!--跳积分商城-->

    <a id="jifen-bet-btn"  href="" style="display:block;">
        <img src="../img/gojifen.jpg" style="display:block;width: 100%"/>
    </a>



    <!--<a href="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzUxODM0OTAzOQ==&scene=110#wechat_redirect" style="display:block;">
    	<img src="imgs/news/shijiebei.jpg" alt="" style="width:100%;display:block; "/>
    	
    </a>-->
    <!--<div class="zouqiu"><img src="imgs/news/shijiebei.jpg" alt="" style="width:100% "/></div>-->
    <!-- lottery -->
    <section id="lottery" style="display:none;">
        <ul class="lottery-list">
            <li id="fxbli" style="display: none;">
                <a href="views/fxb.html" id="indexFxb" style="display: none">
                    <dl class="lottery-item fxb">
                        <dt class="logo zq310"></dt>
                        <dd class="lottery-text">
                            <h2 class="clearfix">
                                <span class="pull-left">风向标精选推荐</span>
                            </h2>
                            <p class="fxb-sub clearfix">
                                <span class="pull-left">
                                                                                   前往购买竞彩
                                </span>
                                <span class="pull-right text-red"></span>
                            </p>
                        </dd>
                    </dl>
                </a>
            </li>

            <li>
                <!--<a href="views/cqssc.html" class="multi-d">-->
                    <!--<dl class="lottery-item">-->
                        <!--<dt class="logo cqssc "></dt>-->
                        <!--<dd class="lottery-text">-->
                            <!--<h2>重庆时时彩</h2>-->
                            <!--<p class="sub-text">夜间场到2点-->
                            <!--</p>-->
                        <!--</dd>-->
                    <!--</dl>-->
                <!--</a>-->
                <!--<a href="views/dlt.html" class="multi-d">-->
                    <!--<dl class="lottery-item">-->
                        <!--<dt class="logo dlt"></dt>-->
                        <!--<dd class="lottery-text">-->
                            <!--<h2>大乐透</h2>-->
                            <!--<p class="sub-text">千万大奖-->
                            <!--</p>-->
                        <!--</dd>-->
                    <!--</dl>-->
                <!--</a>-->
                <a href="views/jc.html" class="multi-d dsn" style="display:none">
                    <dl class="lottery-item">
                        <dt class="logo jc "></dt>
                        <dd class="lottery-text">
                            <h2>竞彩足球</h2>
                            <p class="sub-text">返还率高达69%
                            </p>
                        </dd>
                    </dl>
                </a>
                <a href="views/pl5.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo pl5"></dt>
                        <dd class="lottery-text">
                            <h2>排列5</h2>
                            <p class="sub-text">奖金10万
                            </p>
                        </dd>
                    </dl>
                </a>
                <a href="views/pl3.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo pl3 "></dt>
                        <dd class="lottery-text">
                            <h2>排列3</h2>
                            <p class="sub-text">奖金1040元
                            </p>
                        </dd>
                    </dl>
                </a>

            </li>

            <li>
            	<a href="views/qxc.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo qxc"></dt>
                        <dd class="lottery-text">
                            <h2>七星彩</h2>
                            <p class="sub-text">
                                奖金1040元
                            </p>
                        </dd>
                    </dl>
                </a>
	        	<a href="views/jc.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo jc "></dt>
                        <dd class="lottery-text">
                            <h2>竞彩足球</h2>
                            <p class="sub-text">返还率高达69%
                            </p>
                        </dd>
                    </dl>
                </a>

                <a href="views/jx11x5.html" class="multi-d dsn">
                    <dl class="lottery-item">
                        <dt class="logo jx11x5 "></dt>
                        <dd class="lottery-text">
                            <h2>江西11选5</h2>
                            <p class="sub-text">返奖率59%
                            </p>
                        </dd>
                    </dl>
                </a>
                <a href="views/ssc.html" class="multi-d dsn">
                    <dl class="lottery-item">
                        <dt class="logo jxssc"></dt>
                        <dd class="lottery-text">
                            <h2>江西时时彩</h2>
                            <p class="sub-text">返奖率59%
                            </p>
                        </dd>
                    </dl>
                </a>
            </li>

            <li class="dsn">
                <a href="views/pl5.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo pl5"></dt>
                        <dd class="lottery-text">
                            <h2>排列5</h2>
                            <p class="sub-text">奖金10万
                            </p>
                        </dd>
                    </dl>
                </a>

                <a href="views/qxc.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo qxc "></dt>
                        <dd class="lottery-text">
                            <h2>七星彩</h2>
                            <p class="sub-text">
                                奖金1040元
                            </p>
                        </dd>
                    </dl>
                </a>

            </li>
            <li class="dsn">

                <a href="views/qlc.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo qlc"></dt>
                        <dd class="lottery-text">
                            <h2>七乐彩</h2>
                            <p class="sub-text">
                                最高奖金500万
                            </p>
                       </dd>
                   </dl>
              </a>
                <a href="views/gd11x5.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo gd11x5 "></dt>
                        <dd class="lottery-text">
                            <h2>广东11选5</h2>
                            <p class="sub-text">返奖率59%
                            </p>
                        </dd>
                    </dl>
                </a>
                <a href="views/sd11x5.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo sd11x5 "></dt>
                        <dd class="lottery-text">
                            <h2>山东11选5</h2>
                            <p class="sub-text">返奖率59%
                            </p>
                        </dd>
                    </dl>
                </a>

            </li>
            <li class="dsn">
                <a href="views/fc3d.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo fc3d "></dt>
                        <dd class="lottery-text">
                            <h2>福彩3D</h2>
                            <p class="sub-text">奖金1000元
                            </p>
                        </dd>
                    </dl>
                </a>
           		<a href="views/ssq.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo ssq"></dt>
                        <dd class="lottery-text">
                            <h2>双色球</h2>
                            <p class="sub-text">千万大奖
                            </p>
                        </dd>
                    </dl>
                </a>

                <!--<a href="views/ssqcs.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo sd11x5 "></dt>
                        <dd class="lottery-text">
                            <h2>1D投注</h2>
                            <p class="sub-text">返奖率59%
                            </p>
                        </dd>
                    </dl>
                </a>-->


            </li>
            <!--<li>-->
                <!--<a href="views/jc.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo jc "></dt>
                        <dd class="lottery-text">
                            <h2>竞彩足球</h2>
                            <p class="sub-text">返奖率73%
                            </p>
                        </dd>
                    </dl>
                </a>-->
                <!--<a href="views/ssq.html" class="multi-d">
                    <dl class="lottery-item">
                        <dt class="logo ssq"></dt>
                        <dd class="lottery-text">
                            <h2>双色球</h2>
                            <p class="sub-text">千万大奖
                            </p>
                        </dd>
                    </dl>
                </a>-->
            <!--</li>-->
        </ul>
    </section>
</article>
<div style="text-align: center;position:fixed;bottom:5rem;z-index: 10000;width: 100%;">

</div>
<div id="bottomnav">
<div class="bottom-box">
    <ul class="list-dock">
        <li>
            <a class="on" href="index.html">
                <span class="icon-nav gcdt active"></span>
            </a>
        </li>
        <li>
            <a href="views/result/index.html" >
                <span class="icon-nav cpkj"></span>
            </a>
        </li>
        <li>
            <a  href="views/ucenter.html" >
                <span class="icon-nav hyzx"></span>
            </a>
        </li>
        <!--<li>
            <a  href="views/tese.html">
                <span class="icon-nav ts"></span>
            </a>
        </li>-->
    </ul>
</div>
</div>

<script id="table-template1" type="text/x-handlebars-template">
<dl class="lottery-item fxb">
    <dt class="logo zq310"></dt>
    <dd class="lottery-text">
        <h2 class="clearfix">
            <span class="pull-left">{{info.title}}</span>
            <span class="pull-right text-red">{{info.percent}}%中奖可能</span>
        </h2>
        {{#each list}}
        <p class="fxb-sub clearfix">
            <span class="pull-left">{{matchHome}} VS {{matchGuest}}</span>
            <span class="pull-right text-red">{{sp}}</span>
        </p>
        {{/each}}
    </dd>
</dl>
</script>
<script id="table-template2" type="text/x-handlebars-template">
    {{#each data}}
    <li class="swiper-slide">
        <a href="{{href}}">
            <img src="{{src}}" alt=""/>
        </a>
    </li>
    {{/each}}
</script>

<script id="table-template3" type="text/x-handlebars-template">
    {{#each list}}
        <li><span>{{this}}</span></li>
    {{/each}}
</script>
<!--<script src="js/jquery.js">	</script>-->
<script type="text/javascript" src="../js/common.js"></script>
<script src='js/hz-see-intercept.js'></script>
<script src="../js/mui.min.js"></script>
<!--<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>-->

<!--<script src="https://cdn.bootcss.com/layer/3.0.1/layer.min.js"></script>-->
<script>
	/*$("#points").html(localStorage.getItem("points")*10);
	$("#denglu b").on('click',function(){
		location.href="/h5/#/register?huzhou";
	})*/

var _path = Common.WEB_PATH+"/fenful/h5/wzlh5/index.html";
$(function () {
    var phoneNum;
    var token;
    //unionId登录
    var unionId= Common.queryGetParam("unionId");
    if(unionId){
        //unionId登录
        var param = {};
        var paramStr = {};
        paramStr.unionId = unionId;
        param.paramStr = JSON.stringify(paramStr);
        $.ajax({
            type: "post",
            url: "/fenful/api/v1/login/hzLogin",
            dataType: 'json',
            data: param,
            async: false,
            success: function(m) {
                if(m.code == "200"){
                    var model = eval('(' + m.data + ')');
                    token = model.token;
                    phoneNum = model.phoneNum;
                    console.log(model);
                    if(token&&phoneNum){
                        window.localStorage.setItem("phoneNum", phoneNum);
                        window.localStorage.setItem("token", token);
                        if(model.otherFirst=="1"){
                            mui.confirm('本服务由“上海精彩分呈信息科技有限公司”负责，相关服务和责任将由第三方承担，如有问题请咨询该公司客服：021-58308783', '免责申明', ['知道了']);
                        }

                        jump();

                    }else{
                        window.location.href="/fenful/h5/login.html?_path="+_path;
                    }
                }else{

                    window.location.href="/fenful/h5/login.html?_path="+_path;
                }


            },
            error: function() {
                window.location.href="/fenful/h5/login.html?_path="+_path;

            }
        });
    }else{
        //非第三方登录
         phoneNum = Common.queryGetParam("phoneNum");
         token = Common.queryGetParam("token");

        if(!phoneNum){
            phoneNum = window.localStorage.getItem("phoneNum");
        }
        if(!token){
            token = window.localStorage.getItem("token");
        }

        if(!phoneNum||!token){
            //非第三方跳转，又不能openid登录，直接跳登录页
            window.location.href="/fenful/h5/login.html?_path="+_path;

        }else{
            jump();
        }
    }


    $("#football-bet-btn").attr("href",Common.WEB_PATH+"/fenful/h5/wzlh5/views/jc.html?phoneNum="+phoneNum+"&token="+token);
    $("#jifen-bet-btn").attr("href",Common.WEB_PATH+"/fenful/h5/goods.html");



})


</script>
</body>
</html>
